package br.edu.unilasalle.simon_api.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import br.edu.unilasalle.simon_api.dao.IGenericDao;
import br.edu.unilasalle.simon_api.dao.ILojaDao;
import br.edu.unilasalle.simon_api.domain.Loja;
import br.edu.unilasalle.simon_api.service.ILojaService;

@Service
public class LojaService extends GenericService<Loja, Long> implements ILojaService {
	
	@Autowired
	private ILojaDao dao;
	
	public ILojaDao getLojaDao() {
		return dao;
	}
	
	public void setLojaDao(ILojaDao dao) {
		this.dao = dao;
	}

	@Override
	public IGenericDao<Loja, Long> getEntityDao() {
		return this.dao;
	}
	
}
